<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Pragma" content="no-cache" />
		<title>商品条码验证</title>
		<%@ include file="/user_comm.jsp"%>

		<link rel="stylesheet"
			href="http://a.tbcdn.cn/apps/sell/1.0/publish_detail_ke.css?t=20110128editor.css" />
		<link href="<%=request.getContextPath()%>/css/prop.css"
			type="text/css" rel="stylesheet" />
		<script>
		function checkSubmit(){
			var txtValId=$('#valId');
			var valId=txtValId.val();
			if(valId=='' || valId.length != 20){
				alert("请输入20位的条码验证码");
				txtValId.focus();
				return;
			}
			$('#checkResult').submit();
			return true;
		}
		</script>
	</head>
	<body>
		<%@ include file="/user_top.jsp"%>
		<div class="realCer">
			<!--导航-->
			<!--主体部分start-->
			<div class="realMain clearfix mt10">
				<%@ include file="/cust_menu.jsp"%>
				<div class="realRight ml10 Buyer">
					<div class="mybox">
						<div class="mytit">
							条码验证
						</div>
						<div class="con Orbuy">
							<div class="l-myzbj-tips fc6 mb10" style="padding: 3px 10px;">
								<span class="l-cBlack">温馨提示：</span>封条验证密码仅能被验证一次，敬请留意验证结果。
							</div>
							<div class="reg_box">
								<div class="reg_form">
									<s:form name="formpage" action="checkResult" namespace="/">
										<%@ include file="/messages.jsp"%>
										<dl>
											<dd id="dd_errSpan" class="clearfix" style="display: none">
												<span id="errSpan"></span>
											</dd>
											<dd class="clearfix">
												<em class="lab">条码验证码:</em>
												<span class="at_text t_1_d"> <input id="valId"
														name="valId" type="text" maxlength="20" size="20"
														class="required" value="${valId}" title="*必填" /> </span>
											</dd>
											<dd class="clearfix">
												<em class="lab"></em>
												<a href="javascript:checkSubmit();" class="at_but b_1_y"
													id="reg_sub"><u></u>确认</a>
											</dd>
										</dl>
									</s:form>
								</div>
							</div>
						</div>
						<!--主体部分end-->
					</div>
				</div>
			</div>
		</div>
		<!--底部 start-->
		<%@ include file="/user_button.jsp"%>
		<!--底部end-->
	</body>
</html>
